//
//  FriendDetailViewController.h
//  Guazi
//
//  Created by koolearn on 11-8-4.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>
#import "User.h"
#import "TwitterClient.h"
#import "UserHeaderView.h"


@interface FriendDetailViewController : UIViewController <UIActionSheetDelegate, MFMessageComposeViewControllerDelegate> {
    
    UIButton* phoneButton;
    UIButton* smsButton;
    UIButton* cardButton;
    UIButton* groupButton;
    UIButton* editButton;
    UIButton* deleteButton;
    
    UIButton* friendButton;
    UIButton* timelineButton;
    UserHeaderView* userView;
    
    User* user;
    BOOL owner;
    TwitterClient*  twitterClient;
}

@property (nonatomic, retain) IBOutlet UIButton* phoneButton;
@property (nonatomic, retain) IBOutlet UIButton* smsButton;
@property (nonatomic, retain) IBOutlet UIButton* cardButton;
@property (nonatomic, retain) IBOutlet UIButton* groupButton;
@property (nonatomic, retain) IBOutlet UIButton* editButton;
@property (nonatomic, retain) IBOutlet UIButton* deleteButton;

@property (nonatomic, retain) IBOutlet UIButton* friendButton;
@property (nonatomic, retain) IBOutlet UIButton* timelineButton;

@property (nonatomic, retain) User* user;
@property (nonatomic, retain) IBOutlet UserHeaderView* userView;


- (id) initWithUser:(User*)auser;

- (IBAction) callPhone;
- (IBAction) sendMessage;
- (IBAction) setUserGroup;
- (IBAction) friendCards;
- (IBAction) friendTimeline;
- (IBAction) friendList;
- (IBAction) friendship;

@end
